<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>
</head>
<body>
    <script>

        //// 1、声明之后不允许改变 
        const PI="3.1415926" // TypeError: Assignment to constant variable
        PI=3
        // 2、一但声明必须初始化，否则会报错
        const MY_AGE // SyntaxError: Missing initializer in const declaration

    </script>
</body>
</html>